<?php $this->start('admin_menu')?>
	<?php echo $this->element('admin_menu', array('str_item' => 'users')) ?>
<?php $this->end(); ?>

<div class="users view">
<h1><?php echo __('User'); ?></h1>
<table class='form-table'>
	<tr>
		<td class='left-cl-style'>Email</td>
		<td class='right-cl-style'><?php echo h($user['User']['email']); ?></td>
	</tr>
	<tr>
		<td class='left-cl-style'>First name</td>
		<td class='right-cl-style'><?php echo h($user['User']['first_name']); ?></td>
	</tr>
	<tr>
		<td class='left-cl-style'>Last name</td>
		<td class='right-cl-style'><?php echo h($user['User']['last_name']); ?></td>
	</tr>
	<tr>
		<td class='left-cl-style'>Phone</td>
		<td class='right-cl-style'><?php echo h($user['User']['phone']); ?></td>
	</tr>
	<tr>
		<td class='left-cl-style'>Created at</td>
		<td class='right-cl-style'><?php echo h($user['User']['created_at']); ?></td>
	</tr>
	<tr>
		<td class='left-cl-style'>Status</td>
		<td class='right-cl-style'><?php echo h($user['User']['status']); ?></td>
	</tr>
	<tr>
		<td class='left-cl-style'>Role</td>
		<td class='right-cl-style'><?php echo h($user['Role']['name']); ?></td>
	</tr>
	<tr>
		<td class='left-cl-style no-border no-background'>
			(<span class='red-star'>*</span>) Required
		</td>
		<td class='right-cl-style actions no-border no-background'><?php echo $this->Form->end(__('Submit')); ?></td>
	</tr>
</table>


<div class='actionct'>
	<span class='btn-act'>
			<span><?php echo $this->Html->link(__('List Users'), array('action' => 'index'), array('class' => 'back-act')); ?></span>
	</span>
	<span class='btn-act'>
			<span>
				<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $user['User']['id']), array('class' => 'del-link'), __('Are you sure you want to delete # %s?', $user['User']['id'])); ?> 
			</span>
	</span>
	<span class='btn-act'>
			<span>
				<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $user['User']['id']), array('class' => 'edit-link')); ?> 
			</span>
	</span>
	<span class='btn-act'>
			<span>
				<?php echo $this->Html->link(__('New User'), array('action' => 'add')); ?>
			</span>
	</span>
</div>
